﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using OpenAuth.Repository.Core;

namespace OpenAuth.Repository.Domain
{
    [Table("InspectSchedule")]
    public class InspectSchedule : Entity
    {
        /// <summary>
        /// 计划id
        /// </summary>
        public string InspectPlanId { get; set; }
        /// <summary>
        /// 日程名称
        /// </summary>
        public string ClassName { get; set; }
        /// <summary>
        /// 执行人
        /// </summary>
        public string Executor { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 是否巡检
        /// </summary>
        public bool IsInspection { get; set; }
        /// <summary>
        /// 是否违规
        /// </summary>
        public bool IsViolation { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        public string ShiftTeam { get; set; }
    }
}
